/*******************************************************************************
* CSCI321 Major Project 2010 - University of Wollongong                        *
********************************************************************************
* Program:		WeaveEdit                                              *
* Authors:		Simon Allen (Student#: 3457527, Unix: sa655)           *
*			Scott Bellis (Student#: 3479110, Unix: sjb900)         *
*			Jason Benger (Student#: 3454137, Unix: jb960)          *
*			Timothy Newmarch (Student#: 3459263 Unix: tgn336)      *
*			Benjamin Richardson (Student# 3467752, Unix: bjr401)   *
* Supervisor:		Daniel F. Saffioti                                     *
* Modified:		28/10/2010                                             *
* Description:		WeaveEdit is a highly portable collaborative text      *
*			editor and word processor, allowing several users to   *
*			read and edit multiple documents at the same time.     *
*			It is available for Mac OS X, Windows and Linux,       *
*			utilising Nokia's Qt development framework.            *
*******************************************************************************/


#ifndef GOTOLINE_H
#define GOTOLINE_H

#include <QDialog>


namespace Ui
{
	class GoToLine;
}

/**
  * Simple dialog to allow users to go to a specific line in the current document.
  */
class GoToLine : public QDialog
{
	Q_OBJECT

	public:
		explicit GoToLine(QWidget *parent = 0);
		~GoToLine();

		int getValue() const;

	public slots:
		int exec(const int numLines, const int currentLine);

	private:
		Ui::GoToLine *ui;
};

#endif // GOTOLINE_H
